package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    PageResult selectAllDish(DishPageQueryDTO dishPageQueryDTO);

    void insertDish(DishDTO dishDTO);

    void deltesDish(List<Integer> ids);


    DishVO getById(Long id);


    void updateById(DishVO dishVO);

    void updateStatusById(Integer status, Long id);

    List<DishVO> selectDishByCategoryId(Long categoryId);
}